<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //navigator
        const ua = navigator.userAgent
        const isChrome = ua.indexOf('Chrome')
        console.log(isChrome)
        console.log(navigator)

        //screen
        console.log(screen.width)
        console.log(screen.height)

        //location 
        console.log(location)
        console.log(location.href)
        console.log(location.protocol)
        console.log(location.pathname)
        console.log(location.search)
        console.log(location.hash)

        // history
        console.log(history)
        history.back()
        history.forward()
    </script>
</body>
</html>